<div class="pageContent">
    <form method="post" action="{:url('User/doAdd')}" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>角色：</label>
                <select class="combox" name="roleId">
                    {volist name="roleList" id="vo"}
                    <option value="{$vo.id}">{$vo.role_name}</option>
                    {/volist}
                </select>
            </div>
            <div class="unit">
                <label>姓名：</label>
                <input type="text" name="userName" size="20" maxlength="20" class="required" />
            </div>
            <div class="unit">
                <label>帐号：</label>
                <input type="text" name="userAccount" size="20" maxlength="20" class="required" />
            </div>
<!--            <div class="unit">
                <label>邮箱：</label>
                <input type="text" name="userEmail" size="20" maxlength="20" class="required" />
            </div>-->
            <div class="unit">
                <label>密码：</label>
                <input id="user_password" type="password" name="userPassword" size="20" maxlength="20" class="required" />
            </div>
            <div class="unit">
                <label>重复密码：</label>
                <input type="password" size="20" maxlength="20" class="required" equalto="#user_password" />
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
                <li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
            </ul>
        </div>
    </form>
</div>

